package com.pro.service.imple;

import com.pro.mapper.JsApplyRecordMapper;
import com.pro.pojo.JsApplyRecord;
import com.pro.pojo.JsAuditLog;
import com.pro.pojo.SyCourseRecord;
import com.pro.service.JsApplyRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JsApplyRecordServiceImple implements JsApplyRecordService {

    @Autowired
    private JsApplyRecordMapper jrl;


    @Override
    public List<JsApplyRecord> getJsApplyRecordList(JsApplyRecord jsApplyRecord) {
        return jrl.getJsApplyRecordList(jsApplyRecord);
    }

    @Override
    public List<JsApplyRecord> getJsApplyRecordListStatus(JsApplyRecord jsApplyRecord) {
        return jrl.getJsApplyRecordListStatus(jsApplyRecord);
    }

    @Override
    public boolean addCourseRecord(SyCourseRecord syCourseRecord) {
        return jrl.addCourseRecord(syCourseRecord);
    }

    @Override
    public boolean updateJsApplyRecordResult(JsApplyRecord jsApplyRecord) {
        return jrl.updateJsApplyRecordResult(jsApplyRecord);
    }

    @Override
    public boolean addJsAuditLog(JsAuditLog jsAuditLog) {
        return jrl.addJsAuditLog(jsAuditLog);
    }
}
